package com.cqq.auth.dao.impl;

import java.io.Serializable;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.cqq.auth.dao.ResourceUrlDao;
import com.cqq.auth.dao.domain.ResourceUrl;
import com.cqq.auth.dao.mapper.ResourceUrlMapper;
import com.cqq.common.core.base.BaseDao;
import com.cqq.common.core.base.BaseQuery;

/**
 * <h3>URL资源Dao接口实现类</h3>
 * 
 * @author xijq
 * @version 1.0.0
 * 
 */
@Repository("resourceUrlDao")
public class ResourceUrlDaoImpl extends BaseDao implements ResourceUrlDao {
	
	@Autowired
	private ResourceUrlMapper resourceUrlMapper;

	
	public void add(ResourceUrl obj) {
		resourceUrlMapper.add(obj);
	}

	
	public Integer delete(Serializable id) {
		return resourceUrlMapper.delete(id);
	}

	
	public Integer update(ResourceUrl obj) {
		return resourceUrlMapper.update(obj);
	}

	
	public ResourceUrl queryById(Serializable id) {
		return resourceUrlMapper.queryById(id);
	}

	
	public List<ResourceUrl> queryAll() {
		return null;
	}

	
	public List<ResourceUrl> queryPage(BaseQuery query) {
		return resourceUrlMapper.queryPage(query);
	}

	
	public Integer queryCount(BaseQuery query) {
		return resourceUrlMapper.queryCount(query);
	}

	
	public List<ResourceUrl> queryAllBySystem(String systemCode) {
		return resourceUrlMapper.queryAllBySystem(systemCode);
	}

}
